package com.authine.cloudpivot.web.api.dao;

import com.authine.cloudpivot.web.Utils.MyMapper;
import com.authine.cloudpivot.web.api.vo.HEMSHospital;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface HEMSHospitalMapper extends MyMapper<HEMSHospital> {
    /**
     * Description: 获取医院信息最大单据号
     * @Param:
     * @Author: fj
     * @Date: 2020/8/25
     * @Return: java.lang.String
     */
    String selectMaxSequenceNo();

    /**
     * Description: 通过医院code查询医院信息是否存在
     * @Param: [hospitalCode]
     * @Author: fj
     * @Date: 2020/8/25
     * @Return: com.authine.cloudpivot.web.api.vo.HEMSHospital
     */
    HEMSHospital selectByHospitalCode(@Param("hospitalCode") String hospitalCode);
}